package com.vanke.devops.domain.manager.docker.extend.command;

import com.github.dockerjava.api.command.DockerCmdSyncExec;
import com.github.dockerjava.api.command.SyncDockerCmd;
import com.vanke.devops.domain.manager.docker.extend.model.Task;

import java.util.List;
import java.util.Map;

/**
 * @author 陈景阳
 * @since 2018/6/8
 */
public interface ListTasksCmd extends SyncDockerCmd<List<Task>> {

    Map<String, List<String>> getFilters();

    ListTasksCmd withServiceName(String serviceName);

    interface Exec extends DockerCmdSyncExec<ListTasksCmd,List<Task>> {

    }
}
